libsodium = dependency('libsodium', version: '>= 1.0.11')
incdir = include_directories('../../thirdparty/libmacaroons')

macaroons_sources = [
	'macaroon.cpp',
	'verifier.cpp'
]

macaroons_lib = static_library(
	'libmacaroons',
	macaroons_sources,
	install : false,
	dependencies: libsodium,
	link_with: cmacaroons_lib,
	include_directories: incdir,
)